package chixing.day11.prototype;

public class PersonalOrder extends AbstractOrder{
    public PersonalOrder() {
    }

    public PersonalOrder(int orderId, String orderOwneName, int orderNumber) {
        super(orderId, orderOwneName, orderNumber);
    }

    @Override
    public Order myclone() {
        PersonalOrder personalOrder = new PersonalOrder();
        personalOrder.setOrderId(this.getOrderId());
        personalOrder.setOrderOwneName(this.getOrderOwneName());
        return personalOrder;
    }
}
